part of '../repository.dart';

const _kPurchasedSubscriptionInfoSystemCancellationInfoTypeValue = 'system';

class _PurchasedSubscriptionInfoSystemCancellationInfoDto extends Equatable
    implements _PurchasedSubscriptionInfoCancellationInfoDto {
  const _PurchasedSubscriptionInfoSystemCancellationInfoDto();

  @override
  String get type => _kPurchasedSubscriptionInfoSystemCancellationInfoTypeValue;

  @override
  List<Object?> get props => [];

  @override
  Map<String, dynamic> toJson() {
    return {
      _kPurchasedSubscriptionInfoCancellationInfoTypeKey: type,
    };
  }

  @override
  GooglePlayPurchasedSubscriptionInfoSystemCancellationInfo toEntity() {
    return const GooglePlayPurchasedSubscriptionInfoSystemCancellationInfo();
  }
}
